package io.gbznt.modules.buss.dao;

import io.gbznt.modules.buss.entity.BussRtuSendRecordEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * RTU下行报文数据
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-05-20 12:08:14
 */
@Mapper
public interface BussRtuSendRecordDao extends BaseMapper<BussRtuSendRecordEntity> {
	/**
	 * 根据田块id获取时间最晚的下行报文
	 * @param params
	 * @return
	 */
	List<BussRtuSendRecordEntity> getByTkId(Map<String, Object> params);
}
